package outbound_task

import (
	"database/sql"
	"time"
)

type GfyxOutboundTaskLogPo struct {
	Id              int32
	CompanyId       int64
	TaskId          int64
	CallInstanceId  int64
	CompanyName     string
	Mobile          string
	Duration        int32
	ChatRound       int32
	FinishStatus    int32
	Intention       string
	IntentionRemark string
	PhoneLogs       string
	StartTime       time.Time
	EndTime         time.Time
	AudioFileId     int64
	HangUp          int32
	IsDeleted       uint8 // 0正常，1已删除
	IsRead          int32
	AuditStatus     int32        //1-未审核，2-已审核
	AuditRemark     string       //审核备注
	AuditUser       string       //审核人
	AuditTime       sql.NullTime //审核时间
	CreatedOn       time.Time    // 创建时间
	CreatedBy       string       // 创建者
	ModifiedOn      time.Time    // 修改时间
	ModifiedBy      string       // 修改者
}

// PhoneLogVo 对话详情，值对象
type PhoneLogVo struct {
	Content   string `json:"content"`
	Speaker   string `json:"speaker"`
	StartTime int32  `json:"startTime"`
	EndTime   int32  `json:"endTime"`
}

func (p GfyxOutboundTaskLogPo) TableName() string {
	return "gfyx_outbound_task_log"
}
